{
    "$schema":"http://json-schema.org/draft-03/schema#",

    "title":"polygon",
    "type":"object",
    "extends":{
        "$ref":"geometry.json"
    },
    "properties":{
        "rings":{
            "title":"rings",
            "type":"array",
         "required":true,
            "items":{
                 "title":"ring",
                 "type":"array",
                 "items":{
                     "title":"direct position [x,y]",
                     "type":"array",
                     "items":{
                         "title":"ordinate",
                         "type":"number"}}}},
        "spatialReference":{
            "$ref" : "spatialreference.json"}
    }
}